﻿using Volo.Abp.Modularity;
using Xms.Abp.Modularity;
using Xms.Abp.Storage;
using Xms.Abp.Storage.DependencyInjection;

namespace BackgroundJobManagement;

[DependsOn(
    typeof(BackgroundJobManagementDomainModule),
    typeof(XmsAbpStorageModule)
)]
public class BackgroundJobManagementStorageModule : XmsModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddStorage<BackgroundJobManagementStorage>(BackgroundJobManagementDbProperties.DbTablePrefix, BackgroundJobManagementDbProperties.DbSchema);
    }
}
